package com.monkey.tensquare.recruit.service;

import com.monkey.tensquare.recruit.entity.Enterprise;
import entity.PageResult;

import java.util.List;

public interface EnterpriseService {
    void add(Enterprise enterprise);

    List<Enterprise> findAll();

    Enterprise findById(String enterpriseId);

    void update(String enterpriseId, Enterprise enterprise);

    void delete(String enterpriseId);

    List<Enterprise> search(Enterprise enterprise);

    PageResult<Enterprise> search(Enterprise enterprise, Integer page, Integer size);

    List<Enterprise> hotlist();
}
